﻿namespace dk.Helper.Base.Core
{
    public class World : IWorld
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="World"/> class.
        /// </summary>
        /// <param name="name">The world name.</param>
        /// <param name="address">The server address</param>
        public World(string name, string address)
        {
            Name = name;
            Address = address;
        }

        #region IWorld Members

        /// <summary>
        /// Gets the name.
        /// </summary>
        public string Name { get; private set; }

        /// <summary>
        /// Gets the address.
        /// </summary>
        public string Address { get; private set; }

        /// <summary>
        /// Gets or sets the villages.
        /// </summary>
        /// <value>
        /// The villages.
        /// </value>
        public IVillages Villages { get; set; }

        /// <summary>
        /// Gets or sets the players.
        /// </summary>
        /// <value>
        /// The players.
        /// </value>
        public IPlayers Players { get; set; }

        /// <summary>
        /// Gets or sets the allies.
        /// </summary>
        /// <value>
        /// The allies.
        /// </value>
        public IAllies Allies { get; set; }

        #endregion
    }
}